package entity

type VoiceNode struct {
	Id int64 `gorm:"column:id;type:BIGINT;primary_key" json:"id"`

	Name string `gorm:"column:name;type:VARCHAR(255)" json:"name"`

	SeriesType int64 `gorm:"column:series_type;type:BIGINT" json:"series_type"`

	VoiceId int64 `gorm:"column:voice_id;type:BIGINT" json:"voice_id"`

	CreatedAt int64 `gorm:"column:created_at;type:BIGINT" json:"created_at"`

	UpdatedAt int64 `gorm:"column:updated_at;type:BIGINT" json:"updated_at"`
}

func (a *VoiceNode) TableName() string {
	return "voice_nodes"
}
